package com.example.shopping.pojo.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.shopping.pojo.base.DateBean;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Dream
 * @version 1.0
 * @date 2020/11/9 10:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="shop_order")
public class OrderBean extends DateBean{
    @TableId
    private Integer id;
    /**
     * 订单状态0 未支付 1 已支付
     */
    private Integer orderStatus;
    /**
     * 标识
     */
    private String flag;
    /**
     * 账号
     */
    private String userXh;
    /**
     * 会员id
     */
    private Integer userId;
    /**
     * 订单地址
     */
    private String orderAddress;
    /**
     * 商品总数
     */
    private Integer orderNumber;
    /**
     * 订单总金额
     */
    private Float orderMoney;
}
